<?php

class ConsoleLogger
{

	public function __construct() {}

	public function log($level, $message)
	{
		date_default_timezone_set("UTC");
		echo date("Y-m-d H:i:s e").": ".strtoupper($level)." - ".$message."\n";
	}
	
	public function log_error($message)
	{
		$this->log("error", $message);
	}
	
	public function log_debug($message)
	{
		$this->log("debug", $message);
	}
	
	public function log_info($message)
	{
		$this->log("info", $message);
	}
	
	public function close(){}

}